import React from 'react';

const wrapStyle = {
    height: 180,
    display: 'flex',
    alignItems: 'center',
    justifyContent: 'center',
    minWidth: 860
};

const textStyle = {
    fontSize: 25
};

export default function Banner({ text }) {
    return (
        <div style={wrapStyle}>
            <div style={textStyle}>{text}</div>
            <img
                alt=""
                src="https://vv-tech-public-bucket.oss-cn-hongkong.aliyuncs.com/16107657298746a498646-57ef-4d7b-971b-90f8503a74ab_PersonalDataPic.png"
            />
        </div>
    );
}
